<?php

namespace App\Module\Api\Controllers;
use App\System\Base\Services\TokenService;
use App\System\Cis\Repositories\CisBankAccountRepository;

/**
 * 银行卡列表
 */
class CardListController extends Controller
{
    //主页
    public function index()
    {
        $master_id = TokenService::getMasterId();
        $bank = CisBankAccountRepository::getInstance();
        $data = $bank->getApiList($this->table,$master_id);
        return apiResponse($data);
    }

}
